<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<script type="text/javascript">
$(function() {
	progressClose();
	$('#currentUser_resource_tree').tree({
          url : '${pageContext.request.contextPath}/sys/sysResource/sessionUserResource' ,
          parentField : 'pid',
          lines : true,
          onClick : function(node) {
          },
          onBeforeLoad : function(node, param) {
			if (layout_west_tree) {//只有刷新页面才会执行这个方法
				parent.$.messager.progress({
					title : '提示',
					text : '数据处理中，请稍后....'
				});
			}
		 },
		 onLoadSuccess : function(node, data) {
			parent.$.messager.progress('close');
		 }
      });
});
</script>
<div class="easyui-layout" data-options="fit:true,border:false">
    <div data-options="region:'center',border:false" ">
        <div class="well well-small" style="padding: 5px 5px 5px 5px;">
            <ul id="currentUser_resource_tree"></ul>
        </div>
    </div>
</div>
